import { _decorator, Component, Node } from "cc";
const { ccclass, property } = _decorator;

enum AudioSource {
    BACKGROUND = 'background',
    BTNCLICK = 'btnMp3', // 点击
    CORRECT = 'correct',
    MISTAKE = 'mistake',
    readyGo = 'readygo',
    djs = 'djs',
}

enum EventName {
    NORMAL = 1 << 0,
    MAIN_CAR = 1 << 1,
    OTHER_CAR = 1 << 2,
}

@ccclass("Constants")
export class Constants {
    public static AudioSource = AudioSource;

    public static UIPage = {
        setDialog: 'setDialog',
        readyGo: 'ready-go',
        overModalDialog: 'over-modal-dialog'
    };
}
